From: Aaron Schulz Date: Mon, 31 Aug 2015 20:35:09 +0000 (-0700) Subject: objectcache: Correct tempTTL comment for getWithSetCallback() X-Git-Tag: 1.31.0-rc.0~10202^2 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=8e932456035f575d3d96c9451008bafd0855f29b;p=lhc%2Fweb%2Fwiklou.git objectcache: Correct tempTTL comment for getWithSetCallback() * This applies regardless of lockTSE Change-Id: I5adb62fbb956407cd978211a0497e8bd9de3c1a5 --- diff --git a/includes/libs/objectcache/WANObjectCache.php b/includes/libs/objectcache/WANObjectCache.php index a3bd531671..d57e607a49 100644 --- a/includes/libs/objectcache/WANObjectCache.php +++ b/includes/libs/objectcache/WANObjectCache.php @@ -457,10 +457,9 @@ class WANObjectCache { * Other threads will try to use stale values if possible. * If, on miss, the time since expiration is low, the assumption * is that the key is hot and that a stampede is worth avoiding. - * - tempTTL : when 'lockTSE' is set, this determines the TTL of the temp - * key used to cache values while a key is tombstoned. - * This avoids excessive regeneration of hot keys on delete() but - * may result in stale values. + * - tempTTL : TTL of the temp key used to cache values while a key is tombstoned. + * This avoids excessive regeneration of hot keys on delete() but may + * result in stale values. * @return mixed Value to use for the key */ final public function getWithSetCallback(